IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'RecommendationsGetByCompanyID')
	BEGIN
		DROP  Procedure  RecommendationsGetByCompanyID
	END

GO

CREATE Procedure RecommendationsGetByCompanyID
(
	@CompanyID int
)
AS

SELECT RecommendationID
	, CompanyID
	, RatingTypeID
	, RecommendationDate
	, Rating
	, Price
FROM Recommendations
WHERE CompanyID = @CompanyID